#define _CRT_SECURE_NO_WARNINGS 1
#include"mergesort.h"




int main()
{
	int a[] = { 6,9,8,1,4,3,5,9,8,6,-1,-6,-8,-7,-6,13 };
	int len = sizeof(a) / sizeof(int);
	//MergeSortNonR(a, len);
	MergeSort(a, len);
	int i = 0;
	for (; i < len; i++)
	{
		printf("%d ", a[i]);
	}
	printf("\n");
	return 0;
}